package lp.xian.materials.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原料质检对象 lp_quality_raw
 *
 * @author ruoyi
 * @date 2023-08-15
 */
@Data
public class QualityRaw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 质检详情 */
    private Integer qualityRawId;

    /** 质检id */
    @Excel(name = "质检id")
    private Integer qualityId;

    /** 外观质量检查 */
    @Excel(name = "外观质量检查")
    private Integer qualityAppearance;

    /** 尺寸大小检查 */
    @Excel(name = "尺寸大小检查")
    private Integer qualityDimensiona;

    /** 强度和耐性检查 */
    @Excel(name = "强度和耐性检查")
    private Integer qualityStrength;

    /** 织物结构检查 */
    @Excel(name = "织物结构检查")
    private Integer qualityFabric;

    /** 成分检查 */
    @Excel(name = "成分检查")
    private Integer qualityComponent;

    /** 质检数量 */
    @Excel(name = "质检数量")
    private Integer qualityRawNum;

    /** 不合格数量 */
    @Excel(name = "不合格数量")
    private Integer qualityUnqualifiedNum;

    /** 化学物质检查 */
    @Excel(name = "化学物质检查")
    private Integer qualityChemical;

    /** 名称 */
    @Excel(name = "名称")
    private String qualityName;

    /** 名称 */
    @Excel(name = "规格型号")
    private String qualitySpeion;

    /** 数量 */
    @Excel(name = "数量")
    private Integer qualityNum;

    /** 合格率 */
    @Excel(name = "合格率")
    private Integer qualityQualifiedSex;

    /** 存货id */
    @Excel(name = "存货id")
    private Integer warehousingRequisitionTableId;




    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

                .append("qualitySpeion", getQualitySpeion())
                .append("warehousingRequisitionTableId", getWarehousingRequisitionTableId())
                .append("qualityRawId", getQualityRawId())
                .append("qualityId", getQualityId())
                .append("qualityAppearance", getQualityAppearance())
                .append("qualityDimensiona", getQualityDimensiona())
                .append("qualityStrength", getQualityStrength())
                .append("qualityFabric", getQualityFabric())
                .append("qualityComponent", getQualityComponent())
                .append("qualityRawNum", getQualityRawNum())
                .append("qualityUnqualifiedNum", getQualityUnqualifiedNum())
                .append("qualityChemical", getQualityChemical())
                .append("qualityName", getQualityName())
                .append("qualityNum", getQualityNum())
                .append("qualityQualifiedSex", getQualityQualifiedSex())

                .toString();
    }
}
